package com.yunxi.sto.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.sto.pojo.FinanceCompanyListVO;
import com.yunxi.sto.pojo.FinanceCompanyVO;

import java.util.ArrayList;
import java.util.List;

public class FinanceCompanyDubboServiceMock implements FinanceCompanyDubboService {
    @Override
    public FinanceCompanyVO getById(String id) throws Exception {
        FinanceCompanyVO vo = new FinanceCompanyVO();
        vo.setCompanyId("暂无数据");
        return null;
    }

    @Override
    public void saveOrUpdate(FinanceCompanyVO financeCompanyVO) throws Exception {

    }

    @Override
    public void removeById(String id) {

    }

    @Override
    public PageInfo<FinanceCompanyVO> findPageByVO(FinanceCompanyVO financeCompanyVO, Integer pageNum, Integer pageSize) throws Exception {
        PageInfo<FinanceCompanyVO> page =  new   PageInfo<FinanceCompanyVO>();
        List  list  =  new ArrayList();
        FinanceCompanyVO vo =  new FinanceCompanyVO();
        vo.setCompanyId("暂无数据");
        list.add(vo);
        page.setList(list);
        return page;


    }

    @Override
    public void removeByListVo(List<FinanceCompanyVO> financeCompanyVOList) throws Exception {

    }

    @Override
    public List listByVo(FinanceCompanyVO financeCompanyVO) {
        List  list  =  new ArrayList();
        FinanceCompanyVO vo =  new FinanceCompanyVO();
        vo.setCompanyId("暂无数据");
        list.add(vo);
        return list;
    }

    @Override
    public void delAndReset(List<String> list, Integer isDel) throws Exception {

    }

    @Override
    public List<FinanceCompanyListVO> financeList() {
        List  list  =  new ArrayList();
        FinanceCompanyListVO vo =  new FinanceCompanyListVO();
        vo.setPartnerCode("暂无数据");
        list.add(vo);
        return list;
    }
}
